#include<stdio.h>
#include<string.h>

int main(void)
{
	char a[] = "abcdefg";
	printf("sizeof(a) = %d\n", sizeof(a));
	printf("length(a) = %d\n", strlen(a));

	char b[20] = "hello world";
	printf("sizeof(b) = %d\n", sizeof(b));
	printf("length(b) = %d\n", strlen(b));

	int ret = strcat_s(b, sizeof(b), a);
	if (ret != 0) {
		return -1;
	}
	printf("b = %s\n", b);

	return 0;
}